[INFO] cloning repository https://github.com/VeronicaLSousa/sistema_de_busca_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VeronicaLSousa/sistema_de_busca_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeronicaLSousa%2Fsistema_de_busca_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeronicaLSousa%2Fsistema_de_busca_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8d73d98a80d72501b6406cfea05a09473216a0d
[INFO] fixing VeronicaLSousa/sistema_de_busca_rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeronicaLSousa%2Fsistema_de_busca_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/VeronicaLSousa/sistema_de_busca_rust
[INFO] finished tweaking git repo https://github.com/VeronicaLSousa/sistema_de_busca_rust
[INFO] tweaked toml for git repo https://github.com/VeronicaLSousa/sistema_de_busca_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VeronicaLSousa/sistema_de_busca_rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/VeronicaLSousa/sistema_de_busca_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732
[INFO] running `Command { std: "docker" "start" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking petgraph v0.6.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking megastore-search v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `megastore_search::product`
[INFO] [stdout]  --> tests/product_tests.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use megastore_search::product::Product;
[INFO] [stdout]   |                       ^^^^^^^ could not find `product` in `megastore_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `megastore_search::index`
[INFO] [stdout]  --> tests/index_tests.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use megastore_search::index::ProductIndex;
[INFO] [stdout]   |                       ^^^^^ could not find `index` in `megastore_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `megastore_search::product`
[INFO] [stdout]  --> tests/index_tests.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use megastore_search::product::Product;
[INFO] [stdout]   |                       ^^^^^^^ could not find `product` in `megastore_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `megastore-search` (test "product_tests") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `megastore-search` (test "index_tests") due to 2 previous errors
[INFO] [stdout] error[E0432]: unresolved import `megastore_search::graph`
[INFO] [stdout]  --> tests/graph_tests.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use megastore_search::graph::ProductGraph;
[INFO] [stdout]   |                       ^^^^^ could not find `graph` in `megastore_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `megastore_search::product`
[INFO] [stdout]  --> tests/graph_tests.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use megastore_search::product::Product;
[INFO] [stdout]   |                       ^^^^^^^ could not find `product` in `megastore_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::product`
[INFO] [stdout]  --> tests/search_tests.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use crate::product::Product;
[INFO] [stdout]   |                ^^^^^^^ could not find `product` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::search`
[INFO] [stdout]  --> tests/search_tests.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::search::{buscar_por_categoria, buscar_por_preco};
[INFO] [stdout]   |                ^^^^^^ could not find `search` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/search_tests.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `megastore-search` (test "graph_tests") due to 2 previous errors
[INFO] [stderr] error: could not compile `megastore-search` (test "search_tests") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: struct `ProductGraph` is never constructed
[INFO] [stdout]  --> src/graph.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ProductGraph {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_product`, `connect_similar`, `auto_connect`, and `recommend` are never used
[INFO] [stdout]   --> src/graph.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProductGraph {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     /// Cria um novo grafo de produtos
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add_product(&mut self, product: Product) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn connect_similar(&mut self, id1: &str, id2: &str, weight: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn auto_connect(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn recommend(&self, product_id: &str, min_weight: f64) -> Vec<(&Product, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductIndex` is never constructed
[INFO] [stdout]  --> src/index.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductIndex {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `search_by_name`, `search_by_brand`, and `search_by_category` are never used
[INFO] [stdout]   --> src/index.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProductIndex {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn insert(&mut self, product: Product) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn search_by_name(&self, name: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn search_by_brand(&self, brand: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn search_by_category(&self, category: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `buscar_por_preco` is never used
[INFO] [stdout]   --> src/search.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn buscar_por_preco<'a>(produtos: &'a [Product], preco_max: OrderedFloat<f64>) -> Vec<&'a Product> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductGraph` is never constructed
[INFO] [stdout]  --> src/graph.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ProductGraph {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_product`, `connect_similar`, `auto_connect`, and `recommend` are never used
[INFO] [stdout]   --> src/graph.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProductGraph {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     /// Cria um novo grafo de produtos
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add_product(&mut self, product: Product) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn connect_similar(&mut self, id1: &str, id2: &str, weight: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn auto_connect(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn recommend(&self, product_id: &str, min_weight: f64) -> Vec<(&Product, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductIndex` is never constructed
[INFO] [stdout]  --> src/index.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductIndex {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `search_by_name`, `search_by_brand`, and `search_by_category` are never used
[INFO] [stdout]   --> src/index.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProductIndex {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn insert(&mut self, product: Product) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn search_by_name(&self, name: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn search_by_brand(&self, brand: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn search_by_category(&self, category: &str) -> Option<&Vec<Product>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732", kill_on_drop: false }`
[INFO] [stdout] 37be1c1ffc04c983f7360174c51e05fc7dc108f39b86361dabfe86d6ce287732
